package org.dromara.timemate.domain;

import java.io.Serial;

import org.dromara.common.tenant.core.TenantEntity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 设备信息
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tm_device_info")
public class DeviceInfo extends TenantEntity {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 设备名称
     */
    private String deviceName;

    /**
     * 设备类型:camera-摄像头;watch-手表;wristband-手环;mattress-床垫
     */
    private String deviceType;

    /**
     * 设备状态
     */
    private Byte deviceStatus;

    /**
     * 穿戴人员id
     */
    private Long wearerId;

    /**
     * 删除标志
     */
    @TableLogic
    private Long delFlag;

}
